package com.work.work1;

public class Test {
    public static void main(String[] args) {
        UseCompute a = new UseCompute();
        Add b1 = new Add();
        Sub b2 = new Sub();
        Mul b3 = new Mul();
        Div b4 = new Div();
        System.out.print("和");a.useCom(b1,6,3);
        System.out.print("差");a.useCom(b2,6,3);
        System.out.print("积");a.useCom(b3,6,3);
        System.out.print("商");a.useCom(b4,6,3);
    }
}
